package com.gitee.huxing.course.netty.gateway.filter;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;

/**
 * @Description: http请求过滤
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.netty.gateway.filter
 * @ClassName: HttpRequestFilter
 * @Author: huxing
 * @DateTime: 2021-08-19 下午12:37
 */
public interface HttpRequestFilter {

    /**
     * @Description: Http请求过滤
     * @Author: huxing
     * @param request
     * @param ctx
     * @Date: 2021/8/19 下午12:38
     **/
    void filter(FullHttpRequest request, ChannelHandlerContext ctx);
}
